package com.moehu.back.service;

import com.moehu.back.model.PagingModel;
import com.moehu.back.model.PushOpusModel;
import com.moehu.back.model.ResultModel;

import java.util.Map;

public interface OpusService {
    ResultModel OpusSearch(Map<String, String> Opus) throws Exception;
    ResultModel OpusList(PagingModel pagingModel);
    ResultModel MyOpusList(PagingModel user);
    ResultModel pushOpus(PushOpusModel opus);
    ResultModel FollowOpusList(PagingModel pagingModel);
    ResultModel RankingOpusList(PagingModel pagingModel);
    ResultModel addFollowUser(Integer id);
    ResultModel checkUserIsFollow(Integer id);
    ResultModel getOpusInfo(Integer id, String type);
    ResultModel collectionOpusInfo(Integer id);
    ResultModel collectionOpus(Integer opus_id);
    ResultModel collectionOpusList(PagingModel pagingModel);
    ResultModel upvoteOpus(Map<String, String> opus);
    ResultModel checkOpusIsUpvote(String opus_id, String dynamic_id);
    ResultModel checkOpusIsCollection(Integer opus_id);
    ResultModel OpusAudit(Map<String, String> Opus);
    ResultModel Approved(Map<String, Integer> Opus);
}
